﻿@model LotteryVoteMVC.Models.TodayDropWaterModel
@using LotteryVoteMVC.Core
@using LotteryVoteMVC.Core.Application
@using LotteryVoteMVC.Resources
@using LotteryVoteMVC.Utility
@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <title>@(Resource.Add + Resource.TodayWater)</title>
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.11.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Customer/comm.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Customer/DynamicRange.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Customer/ajaxHelper.js")" type="text/javascript"></script>
    <link href="@Url.Content("~/Content/themes/base/jquery.ui.theme.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/comm.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/TableBase.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/inputs.css")" rel="stylesheet" type="text/css" />
</head>
<body>
    @using (Html.BeginForm())
    {
        <table>
        <thead>
            <tr>
                <td colspan="2">
                    @(Resource.Add + Resource.TodayWater)
                </td>
            </tr>
        </thead>
            <tr>
                <td>@Resource.Num
                </td>
                <td>@Html.TextBoxFor(it => it.Num)
                </td>
            </tr>
            <tr>
                <td>@Resource.DropWater
                </td>
                <td>@Html.TextBoxFor(it => it.DropWater)
                </td>
            </tr>
            <tr>
                <td>@Resource.Amount
                </td>
                <td>@Html.TextBoxFor(it => it.Amount)
                </td>
            </tr>
            <tr>
                <td>@Resource.GameType
                </td>
                <td>@Html.Partial("~/Views/Partial/GamePlayWay.cshtml", LotterySystem.Current.GamePlayWays, new ViewDataDictionary { { "Selected", Model.GamePlayWay }, { "HasAll", false } })
                </td>
            </tr>
            <tr>
                <td>@Resource.Company
                </td>
                <td>
                    @Html.CheckBoxListFor(it => it.Companys, ViewBag.Companys as MultiSelectList)
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <input type="submit" name="submit" id="submit" value="@Resource.Submit" />
                    <input type="reset" name="reset" id="reset" value="@Resource.Reset" />
                </td>
            </tr>
        </table>
    }
</body>
</html>
